#include "BaseFun.h"

namespace Net
{

BaseFun::BaseFun(FunType_E type, const std::string &name):id_(0), type_(type), name_(name)
{

}

BaseFun::~BaseFun()
{

}

FunType_E BaseFun::getType() const
{
    return type_;
}

const std::string &BaseFun::getName() const
{
    return name_;
}

void BaseFun::setID(uint32_t id)
{
    id_ = id;
}

uint32_t BaseFun::getID() const
{
    return id_;
}

}